import request from './index'

function validateUserNameApi(userName) {
    let data = {
        userName
    }
    const result = request({
        url: '/rules/validateUserNameApi',
        method: 'get',
        params: data
    })
    return result
}

export default {
    validateUserNameApi
}